<template>
  <div class="home">
    <div>home页面</div>
    <el-button type="primary">element 按钮</el-button>
  </div>
</template>

<script>

export default {
  components: {
      
  },
  mounted (){
      console.log(window.g.basePath);
      this.$store.dispatch('changeIndex',100)
  },
}
</script>
<style lang="less">
    .home{
        .px2rem(font-size,24px);
    }
</style>